package com.hsq.ndmall.mq.constant;

/**
 * @author 黄四清
 * @version 1.0.0
 * @ClassName OrderRabbitMQ.java
 * @Description TODO 主要用于订单在30分钟后自动关闭，订单的队列的常量
 * @createTime 2021年09月06日 09:20:00
 */
public class OrderRabbitMQ {
    public static final String ORDER_EVENT_EXCHANGE = "order_event_exchange";  // 交换机
    public static final String ORDER_CLOSE_QUEUE = "order_close_queue";  // 普通队列
    public static final String ORDER_CREATE_QUEUE = "order_create_queue";  // 延迟队列
    public static final String ORDER_CREATE_MSG = "order.create.msg";  // 路由键
    public static final String ORDER_CREATE_BINDINGKEY = "order.create.#";  // 绑定键
    public static final String ORDER_CLOSE_MSG = "order.close.msg";  // 路由键
    public static final String ORDER_CLOSE_BINDINGKEY = "order.close.#";  // 绑定键

    public static final String ORDER_RELEASE_COUPON_QUEUE="order_release_coupon_queue";  // 释放优惠券队列
    public static final String ORDER_RELEASE_OTHER_MSG="order.release.other";   // 路由键
    public static final String ORDER_RELEASE_OTHER_BINDINGKEY="order.release.other.#";// 绑定键
}
